
import request from '@/utils/request';

export function listData(query) {
  return request({
    url: `/content-manager/face`,
    method: 'get',
    params: query
  });
}

// 添加
export function postAddData(form) {
  return request({
    url: `/content-manager/face`,
    method: 'post',
    data:form
  });
}

// 更新
export function putEditData(id,form) {
  return request({
    url: `/content-manager/face/${id}`,
    method: 'put',
    data:form
  });
}

// 删除
export function deleteData(form) {
  return request({
    url: `/content-manager/face`,
    method: 'delete',
    data:form
  });
}

